package com.itheima.reggie.util;

public class BaseContext {

    private static final ThreadLocal<Long> THREAD_LOCAL = new ThreadLocal<>();

    public static void set(Long id) {
        THREAD_LOCAL.set(id);
    }


    public static Long get() {
        return THREAD_LOCAL.get();
    }
}
